package com.example.demo.service;

import com.example.demo.bean.SearchUserNumberByCondition;
import com.example.demo.bean.User;

import java.util.List;

public interface UserService {

    User login(String username);
    public void addUser(User user);
    public List<User> getAllUser();
    public List<User> getAllComUser();
    public void updateUserStatus1(Integer id);
    public void updateUserStatus2(Integer id);
    public void deleteUser(Integer id);
    public List<User> findUserByUserId(User user);
    public List<User> selectUserByCondition(SearchUserNumberByCondition searchUserNumberByCondition);
    public List<User> getAllAdmin();
}
